#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QLabel>
#include "USBThread.h"
#include "USBManagement.h"



namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    void setUSBManageRunCount(int i);
private:
    Ui::MainWindow *ui;
    USBThread *mUSBThread;
    USBManagementThread *mUSBManagementThread;
    void resizeWindow();
    void resizeEvent (QResizeEvent * event);
private slots:
    void ChangeWindow(sUSB *msUSB);

};

#endif // MAINWINDOW_H
